﻿using System;

namespace Transfer.CommonUnit
{
	public class ComponentType
	{
		public ComponentType(ComponentType componentType)
		{
			this.m_Type = componentType.m_Type;
			this.m_Category = componentType.m_Category;
		}

		public ComponentType(string type, string category)
		{
			this.m_Type = type;
			this.m_Category = category;
		}

		public bool IsEquals(ComponentType componentType)
		{
			return this.m_Type.CompareTo(componentType.m_Type) == 0 && this.m_Category.CompareTo(componentType.m_Category) == 0;
		}

		public string m_Type;

		public string m_Category;
	}
}
